package game;

/**
 * 猎人
 */
public class Hunter extends Role{
    public Hunter(String name,int level){
        super(name,level);
        this.setHpWeight(12);
        this.setAttackWeight(2);
        this.setDefineWeight(2);
        this.init();
    }

    /**
     * 打猎
     */
    public void hunt(){
        this.setCoin(this.getCoin() + 10);
        this.setHp(this.getHp() - 8);
    }
}
